

<#include "/layout/easyuilayout.ftl"/>
<@htmlHead>
	<script type="text/javascript" src="${webinfo.basePath}/MgrScript/qrmgr/qrmain/js/index.js"></script>
</@htmlHead>
<@htmlBody>

<div id="QrMain_Toolbar">
    <input id="QrMain_ss" class="easyui-searchbox" style="width:280px;"  data-options="searcher:QrMainSearchbox,prompt:'请输入关键字...',menu:'#QrMain_mm'"></input>
    <div id="QrMain_mm" style="width:120px">
        <div data-options="name:'qrName'">二维码名称</div>
        <div data-options="name:'url'">原始地址</div>
        <div data-options="name:'key'">key</div>
        <div data-options="name:'shortUrl'">短链接</div>
        <div data-options="name:'shortKey'">短链接key</div>
    </div>
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="ShowQrMainEditForm()">新建</a>
    <span class="datagrid-btn-separator" style="float:none;"></span>

    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-reload" plain="true" onclick="ReloadQrMainList()">刷新</a>



</div>
<div data-options="region:'center',title:'',split:true,border:false" >
    <table id="QrMain_Grid"> </table>
</div>
<div id="QrMain_EditForm" class="easyui-dialog" style="width:720px;height:400px;padding:0px"  closed="true"  modal="true"    buttons="#QrMain_EditForm_buttons" >
    <form  id="QrMain_EditForm_fm"  method="post"  >
        <div class="fitem"   style="display: none">
            <label>qrId: </label>
            <input name="qrId" class="easyui-validatebox" value=""/>
        </div>
        <div class="fitem"  >
            <label>二维码名称: </label>
            <input name="qrName" class="easyui-validatebox" placeholder="请输入二维码名称..." value="" data-options="required:true"     />
        </div>
        <div class="fitem"  >
            <label>备注: </label>
            <input name="remark" class="easyui-validatebox" placeholder="请输入备注k..." value="" data-options="required:false"     />
        </div>
        <div class="fitem"  >
            <label>原始地址: </label>
            <input name="url" class="easyui-validatebox" placeholder="请输入原始地址..." value="" data-options="required:false"     />
        </div>
        <div class="fitem"  >
            <label>startDate: </label>
            <input name="startDate" class="easyui-datetimebox" placeholder="请输入startDate..." value="" data-options="required:false"     />
        </div>
        <div class="fitem"  >
            <label>endDate: </label>
            <input name="endDate" class="easyui-datetimebox" placeholder="请输入endDate..." value="" data-options="required:false"     />
        </div>
        <div class="fitem"  >
            <label>typeid: </label>
            <input name="typeid" class="easyui-validatebox" placeholder="请输入typeid..." value="" data-options="required:false"     />
        </div>
        <div class="fitem"  >
            <label>tdcLogo: </label>
            <input name="tdcLogo" class="easyui-validatebox" placeholder="请输入tdcLogo..." value="" data-options="required:false"     />
        </div>
        <div class="fitem"  >
            <label>h5MubanId: </label>
            <input name="h5MubanId" class="easyui-validatebox" placeholder="请输入h5MubanId..." value="" data-options="required:false"     />
        </div>
    </form>
</div>
<div id="QrMain_EditForm_buttons">
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="SaveQrMain()">保存</a>
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#QrMain_EditForm').dialog('close')">取消</a>
</div>
</@htmlBody>

 

